import request from "../../request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type IpTable } from "../../interface";

/**
 * 保存或更新 IpTable 信息
 * /ipTable
 */
export function postIpTable(input: IpTable, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<boolean>>(`/ipTable`, input, config);
}
